Dim fieldMapping As DatasetFieldMapping = New DatasetFieldMapping()
With fieldMapping
.AddressFieldName = "<Address field name>"
.CityFieldName = "<City field name>"
.StateProvinceFieldName = "<State field name>"
.PostalCodeFieldName = "<Postal code field name>"
.NameFieldName = "<Name field name>"
End With
server.PlotData("<Map Name>", "<Data file path>", fieldMapping)
DatasetFieldMapping fieldMapping = new DatasetFieldMapping();
fieldMapping.AddressFieldName = "<Address field name>";
fieldMapping.CityFieldName = "<City field name>";
fieldMapping.StateProvinceFieldName = "<State field name>";
fieldMapping.PostalCodeFieldName = "<Postal code field name>";
fieldMapping.NameFieldName = "<Name field name>";
server.PlotData("<Map Name>", @"<Data file path>", fieldMapping);